home *** CD-ROM | disk | FTP | other *** search
/ PD ROM 1 / PD ROM Volume I - Macintosh Software from BMUG (1988).iso / Stacks / Updates⁄New / TicklerMaster™ File / card_14741.txt < prev    next >
Encoding:
Text File  |  1988-06-01  |  10.4 KB  |  265 lines

  1. -- card: 14741 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2728
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 2000
  11. -- rect: left=454 top=237 right=285 bottom=495
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 1007 / 1007
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Print
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   answer "What do you wish to print?" with "Cancel" or "Print Card" or "Print All"
  23.   if it is "Cancel" then
  24.     close printing
  25.     exit mouseUp
  26.   else
  27.     if it is "Print Card" then
  28.       doMenu "Print Card"
  29.       close printing
  30.       exit mouseUp
  31.     else
  32.       if it is "Print All" then
  33.         open printing with dialog
  34.         print this card
  35.         get line 1 of field id 18
  36.         if it is empty then
  37.           close printing
  38.           exit mouseUp
  39.         else
  40.           if it is not empty then
  41.             set lockScreen to true
  42.             go it
  43.             print this card
  44.             go card id 2898
  45.             get line 2 of field id 18
  46.             if it is empty then
  47.               close printing
  48.               exit mouseUp
  49.             else
  50.               if it is not empty then
  51.                 go it
  52.                 print this card
  53.                 go card id 2898
  54.                 get line 3 of field id 18
  55.                 if it is empty then
  56.                   close printing
  57.                   exit mouseUp
  58.                 else
  59.                   if it is not empty then
  60.                     go it
  61.                     print this card
  62.                     go card id 2898
  63.                     get line 4 of field id 18
  64.                     if it is empty then
  65.                       close printing
  66.                       exit mouseUp
  67.                     else
  68.                       if it is not empty then
  69.                         go it
  70.                         print this card
  71.                         go card id 2898
  72.                         get line 5 of field id 18
  73.                         if it is empty then
  74.                           close printing
  75.                           exit mouseUp
  76.                         else
  77.                           if it is not empty then
  78.                             go it
  79.                             print this card
  80.                             go card id 2898
  81.                             get line 6 of field id 18
  82.                             if it is empty then
  83.                               close printing
  84.                               exit mouseUp
  85.                             else
  86.                               if it is not empty then
  87.                                 go it
  88.                                 print this card
  89.                                 go card id 2898
  90.                                 get line 7 of field id 18
  91.                                 if it is empty then
  92.                                   close printing
  93.                                   exit mouseUp
  94.                                 else
  95.                                   if it is not empty then
  96.                                     go it
  97.                                     print this card
  98.                                     go card id 2898
  99.                                     get line 8 of field id 18
  100.                                     if it is empty then
  101.                                       close printing
  102.                                       exit mouseUp
  103.                                     else
  104.                                       if it is not empty then
  105.                                         go it
  106.                                         print this card
  107.                                         go card id 2898
  108.                                         get line 9 of field id 18
  109.                                         if it is empty then
  110.                                           close printing
  111.                                           exit mouseUp
  112.                                         else
  113.                                           if it is not empty then
  114.                                             go it
  115.                                             print this card
  116.                                             go card id 2898
  117.                                             get line 10 of field id 18
  118.                                             if it is empty then
  119.                                               close printing
  120.                                               exit mouseUp
  121.                                             else
  122.                                               if it is not empty then
  123.                                                 go it
  124.                                                 print this card
  125.                                                 go card id 2898
  126.                                                 get line 11 of field id 18
  127.                                                 if it is empty then
  128.                                                   close printing
  129.                                                   exit mouseUp
  130.                                                 else
  131.                                                   if it is not empty then
  132.                                                     go it
  133.                                                     print this card
  134.                                                     go card id 2898
  135.                                                     get line 12 of field id 18
  136.                                                     if it is empty then
  137.                                                       close printing
  138.                                                       exit mouseUp
  139.                                                     else
  140.                                                       if it is not empty then
  141.                                                         go it
  142.                                                         print this card
  143.                                                         go card id 2898
  144.                                                         get line 13 of field id 18
  145.                                                         if it is empty then
  146.                                                           close printing
  147.                                                           exit mouseUp
  148.                                                         else
  149.                                                           if it is not empty then
  150.                                                             go it
  151.                                                             print this card
  152.                                                             go card id 2898
  153.                                                             get line 14 of field id 18
  154.                                                             if it is empty then
  155.                                                               close printing
  156.                                                               exit mouseUp
  157.                                                             else
  158.                                                               if it is not empty then
  159.                                                                 go it
  160.                                                                 print this card
  161.                                                                 go card id 2898
  162.                                                                 get line 15 of field id 18
  163.                                                                 if it is empty then
  164.                                                                   close printing
  165.                                                                   exit mouseUp
  166.                                                                 else
  167.                                                                   if it is not empty then
  168.                                                                     go it
  169.                                                                     print this card
  170.                                                                     go card id 2898
  171.                                                                     get line 16 of field id 18
  172.                                                                     if it is empty then
  173.                                                                       close printing
  174.                                                                       exit mouseUp
  175.                                                                     else
  176.                                                                       if it is not empty then
  177.                                                                         go it
  178.                                                                         print this card
  179.                                                                       end if
  180.                                                                     end if
  181.                                                                   end if
  182.                                                                 end if
  183.                                                               end if
  184.                                                             end if
  185.                                                           end if
  186.                                                         end if
  187.                                                       end if
  188.                                                     end if
  189.                                                   end if
  190.                                                 end if
  191.                                               end if
  192.                                             end if
  193.                                           end if
  194.                                         end if
  195.                                       end if
  196.                                     end if
  197.                                   end if
  198.                                 end if
  199.                               end if
  200.                             end if
  201.                           end if
  202.                         end if
  203.                       end if
  204.                     end if
  205.                   end if
  206.                 end if
  207.               end if
  208.             end if
  209.           end if
  210.         end if
  211.       end if
  212.     end if
  213.   end if
  214.   close printing
  215.   set lockScreen to false
  216. end mouseUp
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244. -- part contents for background part 48
  245. ----- text -----
  246.  
  247.  
  248.  
  249. TicklerMaster File‚Ñ¢
  250. ©1988
  251. by James C. √áasebier, Jr.
  252. 105 Center Street 
  253. Box-172
  254. Hartford, Kentucky 42347
  255.  
  256.  
  257.  
  258. Click To continue
  259.  
  260.  
  261. HyperCard Shareware $20.00
  262.  
  263. -- part contents for background part 6
  264. ----- text -----
  265. Friday, January 1, 1904